def main():
    """
    1.生成器是一种特殊的迭代器
    2.函数中包含yield关键字，函数执行到yield关键字返回当前数值并返回
    3.列表生成式的中括号改成小括号
    :return:
    """
    beat = {"beat": ["beat", "offbeat", "upbeat", "downbeat", "browbeat", "brow", "brown", "browse"]}
    for i in beat.values():
        print(i)


if __name__ == '__main__':
    main()
